package com.blb.edufileservice.feign;

import com.learn.eduapi.entity.Course;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient("edu-course-boot")
public interface CourseFeign {

    @GetMapping("/course/getCourseById/{courseid}")
    Course getCourseById(@PathVariable("courseid")Integer courseid);
}
